import request from '@/utils/request'

// 查询模块自动审核列表
export function listAcMstr(query) {
  return request({
    url: '/system/acMstr/list',
    method: 'get',
    params: query
  })
}

// 查询模块自动审核详细
export function getAcMstr(acId) {
  return request({
    url: '/system/acMstr/' + acId,
    method: 'get'
  })
}

// 新增模块自动审核
export function addAcMstr(data) {
  return request({
    url: '/system/acMstr',
    method: 'post',
    data: data
  })
}

// 修改模块自动审核
export function updateAcMstr(data) {
  return request({
    url: '/system/acMstr',
    method: 'put',
    data: data
  })
}

// 删除模块自动审核
export function delAcMstr(acId) {
  return request({
    url: '/system/acMstr/' + acId,
    method: 'delete'
  })
}

// 导出模块自动审核
export function exportAcMstr(query) {
  return request({
    url: '/system/acMstr/export',
    method: 'get',
    params: query
  })
}